<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html">
<h:head>Login</h:head>
<h:body>
	<div align="center">
	<p>Aceasta sectiune are nevoie de autorizare.</p>
	<form method="post" action="j_security_check"><h:panelGrid
		columns="2">
		<h:outputLabel for="j_username" value="Utilizator:" />
		<h:inputText type="text" name="j_username" id="j_username" />
		<h:outputLabel for="j_password" value="Parola:" />
		<h:inputSecret type="password" name="j_password" id="j_password" />
		<h:outputText value="&nbsp;" />
		<!--this is necessary for layout -->
		<h:commandButton type="reset" id="reset" value="Reset" />
		<h:commandButton type="submit" id="submit" value="Autentifica" />
	</h:panelGrid></form>
	<h:outputText value="Eroare!" style="color:red" rendered="#{param['error'] != null}"/>
	</div>
</h:body>
</html>